package com.haierp.mapper.authority;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.haierp.model.authority.RoleHai;
import com.haierp.vo.authority.RoleQueryVO;

/**
 * 
 * Title: IRoleMapperHai.java
 * Description: 
 *
 * @author jc
 * Apr 20, 2017
 *
 */
public interface RoleMapperHai extends AutoMapper<RoleHai>{

	Integer queryRolesCount(RoleQueryVO roleQueryVO);
	
    List<RoleHai> queryRoleQueryList(RoleQueryVO roleQueryVO);

    List<Long> queryResourceIdListByRoleId(@Param("id") Long id);

    List<Map<Long, String>> queryResourceListByRoleId(@Param("id") Long id);
}
